import { connect } from "react-redux";

import Dashboard from "../../component/home/Dashboard.jsx";
import { setPageTitle, setLocation } from "../../action/system";

function mapStateToProps(state) {
    return {
        
    }
}

function mapDispatchToProps(dispatch) {
    return {
        setPage: (location, title) => {
            dispatch(setLocation(location));
            dispatch(setPageTitle(title));
        }
    }
}

export default connect(mapStateToProps, mapDispatchToProps)(Dashboard);